package com.usooft.metaTalent.core.wx.mapper;

import com.usooft.metaTalent.core.wx.entity.WxOpenUser;
import com.usooft.metaTalent.core.wx.query.WxOpenUserQuery;
import com.usooft.metaTalent.core.wx.wrapper.WxOpenUserWrapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WxOpenUserMapper {
    int add(WxOpenUser wxOpenUser);

    int update(WxOpenUser wxOpenUser);

    int delete(WxOpenUser wxOpenUser);

    WxOpenUser get(Long id);

    List<WxOpenUserWrapper> list(WxOpenUserQuery query);

    int count(@Param("filter") WxOpenUserQuery.Filter filter);
}
